package com.service.demo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.entity.Book;
import com.dao.mapper.BookMapper;
import com.service.demo.BookService;

@Service
public class BookServiceImpl implements BookService
{
    
    @Autowired
    private BookMapper bookMapper;

    @Override
    public Book getById(String bookId)
    {
        return bookMapper.queryById(bookId);
    }
    
}
